<!--<*****护网演练*****>-->
<template>
   <DrillList :type="5" :extension="hwType" ref="dlistComp"></DrillList>
</template>

<script>
import DrillList from '@/view/drill_compete/page/drill';
export default {
    name: 'scenes',
    components: { DrillList },
    data() {
        return {
            hwType: this.$route.name == 'swDrill' ? 0 : 1, //0 旧护网 1新护网
        };
    },
    watch: {
      $route: {
        handler: function (val, oldVal){
          this.hwType =  this.$route.name == 'swDrill' ? 0 : 1
          let comp = this.$refs.dlistComp
          comp.extension = this.hwType
          comp.refreshSceneList()
        },
        deep: true
      },
    },
    filters: {},
    computed: {},
    mounted() {},
    beforeDestroy() {},
    methods: {},
    destroyed() {},
};
</script>

<style></style>
